package com.guigu.www.erp.tangyingmeng.dao;

import com.guigu.www.erp.common.pojo.DesignModule;
import org.springframework.stereotype.Component;
import sun.security.krb5.internal.crypto.Des;

import java.util.List;

@Component
public interface DesignModuleMapper {
    int deleteByPrimaryKey(Integer designModuleId);

    int insert(DesignModule record);

    int insertSelective(DesignModule record);

    DesignModule selectByPrimaryKey(Integer designModuleId);

    int updateByPrimaryKeySelective(DesignModule record);

    int updateByPrimaryKey(DesignModule record);

    //查询最大编号
    String queryMaxApplyId();

    //设计表审核
    List<DesignModule> selshenhe();

    //审核查询
    DesignModule selbyoneshenhe(int designModuleId);

    //产品审核
    int cpshenhe(DesignModule designModule);

    int cxshenhe(String checkTag);

    List<DesignModule> selcx(String productName);

    int wuliaobg(DesignModule designModule);

    List<DesignModule> selbg();
}